<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class PricedApply extends BaseModel
{
    protected $table = 'priced_apply';

    const CREATED_AT = 'add_time';
    const UPDATED_AT = 'upd_time';

    protected $dateFormat = 'U';

    protected $fillable = [
        'me_id',
        'name',
        'phone',
        'email',
        'shop_url',
    ];

    public function merchant()
    {
        return $this->belongsTo(Merchant::class,'me_id');
    }
}
